wget https://data.iana.org/time-zones/releases/tzdata2025b.tar.gz -P ${DOWNLOADDIR}
mkdir ${BUILDDIR}/tzdata-2025
tar xf ${DOWNLOADDIR}/tzdata2025b.tar.gz -C ${BUILDDIR}/tzdata-2025
pushd ${BUILDDIR}/tzdata-2025
    ZONEINFO=${SYSDIR}/sysroot/usr/share/zoneinfo
    mkdir -pv $ZONEINFO/{posix,right}
    for tz in etcetera southamerica northamerica europe africa antarctica  \
              asia australasia backward; do
        /sbin/zic -L /dev/null   -d $ZONEINFO       ${tz}
        /sbin/zic -L /dev/null   -d $ZONEINFO/posix ${tz}
        /sbin/zic -L leapseconds -d $ZONEINFO/right ${tz}
    done
    cp -v zone.tab zone1970.tab iso3166.tab $ZONEINFO
    /sbin/zic -d $ZONEINFO -p Asia/Shanghai
    unset ZONEINFO
    ln -sfv /usr/share/zoneinfo/Asia/Shanghai ${SYSDIR}/sysroot/etc/localtime
popd
